package com.gurun.model.bean.gateway.command;

/**
 * Created by harry on 2018/3/16.
 */

public class GateWayCommandFromPushModel {


    /**
     * data : {"model":"gw","cmd":"permit","short_id":0,"sid":"2b5569d13d3d580","token":"6"}
     * gatewayMac : 2b5569d13d3d580
     */

    private String data;
    private String gatewayMac;

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public String getGatewayMac() {
        return gatewayMac;
    }

    public void setGatewayMac(String gatewayMac) {
        this.gatewayMac = gatewayMac;
    }

    public static class CommandModel{

        /**
         * model : gw
         * cmd : permit
         * short_id : 0
         * sid : 2b5569d13d3d580
         * token : 6
         */

        private String model;
        private String cmd;
        private int short_id;
        private String sid;
        private String token;

        public String getModel() {
            return model;
        }

        public void setModel(String model) {
            this.model = model;
        }

        public String getCmd() {
            return cmd;
        }

        public void setCmd(String cmd) {
            this.cmd = cmd;
        }

        public int getShort_id() {
            return short_id;
        }

        public void setShort_id(int short_id) {
            this.short_id = short_id;
        }

        public String getSid() {
            return sid;
        }

        public void setSid(String sid) {
            this.sid = sid;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }
    }
}
